import LoopObject from "@/loop";


export default class GeneratePixelControlLoopObject extends LoopObject {

    born(): void {
        super.born()
    }
    reset(): void {
        super.reset()
    }
    tickStart(): void {
        super.tickStart()
    }
    do(): void {
        super.do()
    }
    afterWork(): void {
        super.afterWork()
    }
    tickEnd(): void {
        super.tickEnd()

        if (Game.cpu.bucket >= 10000 && Game.cpu.generatePixel) Game.cpu.generatePixel()
    }
}
